Method of selecting a composite service from a plurality of composite services

ABSTRACT

Method, for use in a telecommunications network, of selecting from a plurality of composite services a composite service to be executed in response to a network event. Each composite service has associated therewith criteria including a Boolean expression determining whether or not the composite service may be executed in response to the network event. The method comprises composing, for the network event, for each composite service an indicator indicating a) whether or not the criteria for that composite service are met by the network event, and b) a measure of conformity of the network event with said criteria. The method further includes selecting the composite service having associated therewith the indicator indicating that the criteria are met, and indicating closest conformity.

This application is the U.S. national phase of International ApplicationNo. PCT/EP2010/070316 filed 20 Dec. 2010 which designated the U.S., theentire contents of which is hereby incorporated by reference.

TECHNICAL FIELD

The invention relates to a method of selecting a composite service froma plurality of composite services. The invention also relates to anetwork node for selecting a composite service from a plurality ofcomposite services. The invention also relates to a computer programproduct arranged for, when run on a programmable apparatus, selecting acomposite service from a plurality of composite services.

BACKGROUND

In a telecom network it is customary to have value added services thatcan be executed on certain occasions. Typically, these services aretriggered by a network event, e.g. a subscriber calling anothersubscriber or a specific service number.

It is known to provide the ability to combine many different servicesinto composite services, sometimes referred to as “skeletons”. On anetwork event, one of these composite services needs to be selected,using a selection procedure, and executed. This selection is normallybased on data available in the service invocation request, such asdestination address. The selection can also be based on provisioningdata.

Each composite service may be associated with criteria, such as apriority or a specific execution sequence, that define the applicabilityof the composite service to a particular network event. For each networkevent, the criteria of each composite service are evaluated, indicatingwhether the composite service is applicable.

It can occur that the selection procedure results in multiple applicablecomposite services, from which a single composite service needs to beselected for execution. A known selection procedure is based on usingpre-defined priorities to select the composite service to be executed.This mechanism exhibits two problems:

-   -   It still can result in more than one composite service being        selected, unless each composite service is given a different,        unique priority.    -   The priority mechanism is static and does not take into account        that the nature of criteria for different composite services may        differ.

SUMMARY

It is an object to obviate at least some of the above disadvantages andprovide an improved method, for use in a telecommunications network, ofselecting from a plurality of composite services a composite service tobe executed in response to a network event, and having a reduced chanceof multiple composite services being applicable or be able to select acomposite service best matching the network event.

Thereto, a method is provided, for use in a telecommunications network,of selecting from a plurality of composite services a composite serviceto be executed in response to a network event, each composite servicehaving associated therewith criteria determining whether or not thecomposite service may be executed in reaction to the network event, saidcriteria including a Boolean expression indicating the applicability ofsaid composite service for said network event, the Boolean expressionincluding one or more conditions and one or more Boolean operators, themethod comprising composing, for the network event, for each compositeservice an indicator indicating whether or not the Boolean expressionfor that composite service is met by the network event, and a measure ofconformity of the network event with said Boolean expression; andselecting the composite service having associated therewith theindicator indicating that the Boolean expression is met, and indicatingclosest conformity.

Hence, the method not only determines whether or not a composite servicefulfils the criteria for allowing that composite service to be executedin response to the network event. Also, the method determines a measureof conformity of the network event with the criteria that determinewhether or not the composite service may be executed in response to thenetwork event. Hence, the method allows selecting the composite servicegiving closest conformity to the criteria. This closest conformity isdetermined based on the actual network event. Thus, there is no need topredetermine a priority for each composite service for each possiblenetwork event.

Since the criteria associated with each composite service include aBoolean expression indicating the availability of said composite servicefor said network event, the measure of conformity of the network eventwith the Boolean expression may be determined.

Instead of just evaluating which of the Boolean expressions result in aBoolean TRUE value, the method allows to select the Boolean expressionthat matches the network event, e.g. the service invocation request,strongest. Since the Boolean expressions may be constructed usingBoolean operators, such as AND, OR and NOT, but also may containcomparison constructs (like “equal”, “unequal”, “greater than”, “smallerthan”, etc.), each of the Boolean conditions can be evaluatedindividually.

It will be appreciated that the Boolean expression may represent thecriteria determining whether or not the composite service may beexecuted in response to the network event. The Boolean expression may bea logical representation of said criteria.

In an embodiment, the indicator comprises a score tuple including theelements:

a Boolean result (R) of the Boolean expression for the network event,and one or more of

a number (S) of conditions of the Boolean expression satisfied by thenetwork event,

a number (C) of conditions contributing to a positive result of theBoolean expression, and

a number (N) of conditions in the Boolean expression.

A score tuple a list of scores. Herein score tuples are written bylisting the elements within parentheses ‘( )’ and separated by commas.In the examples, the elements R, S, C and N are combined into a scoretuple (R, S, C, N). The value for such score tuple, can for instance be(true, 2, 3, 4), indicating that R=true, S=2, C=3, and N=4.

Thus, according to an aspect of the invention a score tuple is assignedto the Boolean expression representing the criteria. Thereto, may beassigned an individual score tuple to each condition of the Booleanexpression, providing an indication of how strong the condition matchesthe input data represented by the network event. The score tuple of theBoolean expression may then be calculated from the individual scoretuples of the respective conditions. The score tuple of the Booleanexpression may be used to determine the measure of conformity of therespective composite services with the network event.

In an embodiment, the tuple score of the Boolean expression may becalsulated from the individual score tuples of the individualconditions. Herein, the number N of conditions in the Boolean expressionmay be calculated as the sum of the individual conditions' N_(i) (i=1,2, 3, . . . ). The number S of conditions of the Boolean expressionsatisfied by the network event, and the number C of conditionscontributing to a positive result of the Boolean expression may becalculated as follows depending on the type of Boolean operator.

For a logical-OR operator, the number S of conditions satisfied in theBoolean expression is the sum of individual conditions' S_(i) satisfied.The number C of conditions contributing to the positive result of theBoolean expression is the number of individual conditions' C_(i)contributing in the branches contributing most to the positive result ofthe Boolean expression, because OR weakens the expression.

For a logical-AND operator, the number S of conditions satisfied in theBoolean expression is the sum of the individual conditions' S_(i)satisfied in the branches of the Boolean expression. The number C ofconditions contributing to the positive result of the Boolean expressionis the sum of the individual contributing conditions' C_(i) in thebranches, because AND strengthens the expression.

For a logical-NOT operator, the number S of conditions satisfied in theBoolean expression is the difference between the number of individualconditions' N_(i) and the number of individual conditions' S_(i)satisfied in the branch of the Boolean expression, and the number C ofconditions contributing to the positive result of the Boolean expressionis the difference between the number of individual conditions' N_(i) andthe number of individual contributing conditions' C_(i) in the branch ofthe Boolean expression, because NOT inverts the expression.

The composite service having the highest measure of conformity of allcomposite services may be selected to be executed in response to thenetwork event. For instance, the composite service having associatedtherewith the score tuple with a highest score, according to apredetermined evaluation scheme, may be selected to be executed inresponse to the network event.

In an embodiment, the composite service having the highest measure ofconformity of all composite services is defined as the composite servicehaving

a positive Boolean result (R), and

a highest ratio (S/N) of satisfied conditions,

a highest number (S) of satisfied conditions, and/or

a highest number (C) of contributing conditions.

Thus, the measure of conformity of the network event with the criteriamay be determined on the basis of the ratio (S/N) of conditions of theBoolean expression representing the criteria met by the network event,on the basis of the number (S) of conditions of the Boolean expressionrepresenting the criteria met by the network event, and/or the number(C) of conditions of the Boolean expression contributing to the positiveresult of the determination that the network event meet the Booleanexpression.

In an embodiment, the composite service having the highest measure ofconformity of all composite services is defined as the composite servicehaving a positive Boolean result (R), and a highest ratio (S/N) ofsatisfied conditions. If multiple candidate composite services remain,having an identical ratio (S/N) of satisfied conditions, the compositeservice having the highest measure of conformity of all compositeservices may be defined as the composite service having a highest number(S) of satisfied conditions. If multiple candidate composite servicesremain, having an identical number (S) of satisfied conditions, thecomposite service having the highest measure of conformity of allcomposite services may be defined as the composite service having ahighest number (C) of contributing conditions.

Alternatively, one could favour a higher number (S) of satisfiedconditions over the ratio (S/N) of satisfied conditions. This can bebased on the same score tuple, by redefining the order of precedence.

It will be appreciated that many different orders of precedence arepossible, all based on the same scoring mechanism.

In an embodiment, if multiple candidate composite services remain, thecomposite service having the highest measure of conformity maysubsequently be determined based on a predetermined highest priority.Thus, for the rare cases where still multiple candidates remain, apredetermined, e.g. static, priority may be awarded to each compositeservice.

Optionally, the network event is a service invocation request, and theindicator provides a measure of conformity of the criteria with theservice invocation request.

In an embodiment, for each composite service a weight is associated withone or more of the conditions of the Boolean expression. Said weight canbe taken into account in determining the measure of conformity. Forinstance, it is possible to determine a weighed total number (S_(w)) ofsatisfied conditions, by adding the respective weights of the conditionsthat have been satisfied. It is also possible to determine a weighedtotal number (C_(w)) of contributing conditions, a weighed total numberof conditions (N_(w)) in the expression and/or a weighed ratio(S_(w)/N_(w)) of satisfied conditions.

In an embodiment, the telecommunications network is an Internet ProtocolMultimedia Subsystem (IMS) network. Thus, the method as described abovemay be used in an IMS network for selecting from a plurality ofcomposite IMS services a composite IMS service to be executed inresponse to a network event, such as an IMS service invocation request.The telecommunications network may also be a Service OrientedArchitecture (SOA) or a Signalling System #7 (SS7) network.

The invention also relates to a network entity arranged for performingthe method according to the invention. Said network entity is arrangedfor performing one or more of the features of the method as describedabove.

Such network entity may be Network entity, for use in atelecommunications network, for selecting from a plurality of compositeservices a composite service to be executed in response to a networkevent, such as a service invocation request, said network entity havinga memory associated therewith, said memory including, for each compositeservice, a Boolean expression determining whether or not the compositeservice may be executed in response to the network event, the Booleanexpression including one or more conditions and one or more Booleanoperators, said network entity including a receiving unit for receivingthe network event, a determination unit arranged for determining foreach composite service whether or not the Boolean expression for thatcomposite service is met by the network event, an evaluation unitarranged for determining a measure of conformity of the network eventwith the Boolean expression, and a selection unit arranged for selectingthe composite service for which the determination unit determined thatthe Boolean expression is met, and for which the evaluation unitindicated closest conformity.

In an embodiment, the determination unit is arranged for determining aBoolean result (R) of the Boolean expression for the network event, andthe evaluation unit is arranged for determining one or more of a number(S) of conditions of the Boolean expression satisfied by the networkevent, a number (C) of conditions contributing to a positive result ofthe Boolean expression, and a number (N) of conditions in the Booleanexpression.

In an embodiment, the determination unit is arranged for determining thehighest measure of conformity on the basis of a highest ratio (S/N) ofsatisfied conditions, a highest number (S) of satisfied conditions,and/or a highest number (C) of contributing conditions, e.g. in thatorder of precedence.

In an embodiment, the network entity is arranged for use in an InternetProtocol (IP) Multimedia Subsystem (IMS) network, the network entity forinstance being an Application Server (AS) or a Serving Call SessionControl function (S-CSCF).

The invention also relates to a computer program product includingsoftware code portions arranged for performing, when run on aprogrammable apparatus, the steps of the method according to theinvention. Preferably, the computer program product is is arranged forperforming one or more of the optional features of the method asdescribed above.

In an embodiment, the computer program product is included on a datacarrier, such as a solid memory, an optical storage medium, such as aCD-ROM, DVD or Blu-Ray disk, a magnetic storage medium, such ashard-disk or tape, or a carrier wave such as provided via the internetor an intranet.

It will be appreciated that using a measure of conformity to select anapplicable composite service provides a much more accurate selectionthan other techniques (such as priorities). Moreover, the measure ofconformity, especially the score tuple, actually identifies whichexpression matches the input strongest. It also provides a score thatconforms to one's intuition of what matches best.

BRIEF DESCRIPTION OF THE DRAWINGS

The invention will now be further elucidated by means of non-limitingexamples referring to the drawings, in which

FIG. 1 is a schematic representation of telecommunication network;

FIGS. 2A-2C are examples of rules on how the score tuple of a node iscalculated based on the score tuples in the sub-tree(s) and/or leave(s);

FIG. 3 shows a first example of a selection between Boolean expressions;

FIG. 4 shows a second example of a selection between Booleanexpressions;

FIG. 5 shows a third example of a selection between Boolean expressions;

FIG. 6 shows a fourth example of a selection between Booleanexpressions;

FIG. 7 shows an example of applicability of De Morgan's law; and

FIG. 8 shows a schematic representation of an exemplary embodiment of anetwork entity according to the invention.

DETAILED DESCRIPTION

FIG. 1 shows a schematic representation of a system 1 according to theinvention. The system 1 includes a telecommunications network 2, in thisexample an Internet Protocol (IP) Multimedia Subsystem (IMS) network,known per se. In this example, the telecommunications network 2 includesa Proxy Call Session Control Function (P-CSCF) 4 and a Serving CallSession Control Function (S-CSCF) 6. The network 2 includes anApplication Server (AS) 8 arranged for providing one or more networkservices. In this example, the AS 8 is arranged for providing aplurality of mutually different network services. The different servicesmay be combined into composite services (sometimes also referred to asskeletons). Many mutually different composite services are possible byproviding different combinations of the mutually different networkservices.

In the example of FIG. 1 the system 1 comprises a User Agent (UA) 10.The UA 10 may be embodied by a User Equipment (UE), such as a cellularphone, a modem, a computer, a personal digital assistant (PDA) or thelike. Here, the User Agent 10 accesses the communications network 2 viaan Access Network (AN) 11.

One of the composite services may be provided if a certain network eventoccurs. Such network event may e.g. be a subscriber associated with theUA 10 calling another subscriber or a specific network number. Thenetwork event may thus invoke the composite service. In general, thenetwork event may thus be a service invocation request.

Since a plurality of different composite services is available in thisexample, one of these composite services needs to be selected andexecuted in response to said network event. In the example, eachcomposite service has associated therewith criteria determining whetheror not the composite service may be executed in response to the networkevent. These criteria may be stored in a database 12 associated with theAS 8.

Selection of the composite service may be performed by a network entity14. In this example, the network entity is included in the AS 8. FIG. 8shows a schematic representation of an exemplary embodiment of thenetwork entity 14.

The network entity 14, for use in the telecommunications network 2, hasa memory 15 associated therewith. Said memory includes, for eachcomposite service, criteria determining whether or not the compositeservice may be executed in response to the network event. In thisexample, the memory 15 may be formed by the database 12. The networkentity 14 includes a receiving unit 17 for receiving the network event.The network entity 14 includes a determination unit 16 arranged fordetermining for each composite service whether or not the criteria forthat composite service are met by the network event. The network entity14 includes an evaluation unit 18 arranged for determining a measure ofconformity of the network event with said criteria. The network entity14 includes a selection unit 20 arranged for selecting the compositeservice for which the determination unit 16 determined that the criteriaare met, and for which the evaluation unit 18 indicated closestconformity.

It will be appreciated that the determination unit 16, the evaluationunit 18, and selection unit 20 can be embodied as dedicated electroniccircuits, possibly including software code portions. The determinationunit 16, the evaluation unit 18, and selection unit 20 may also beembodied as software code portions executed on a programmable apparatussuch as a server in the communications network.

According to the invention, for the network event, for each compositeservice of the plurality of composite services an indicator is composed.The indicator indicates whether or not the criteria for that compositeservice are met by the network event. If the indicator indicates thatthe criteria are not met for the network event for a particularcomposite service, that composite service is refused. The indicator alsoindicates a measure of conformity of the network event with saidcriteria. The composite service having associated therewith theindicator indicating that the criteria are met, and indicating closestconformity is selected to be executed in response to said network event.

In the following examples, for each of the composite services, thecriteria associated therewith are represented as a Boolean expression.The Boolean expression indicates the applicability of said compositeservice for said network event. The Boolean expression includes one ormore conditions which may or may not be met by the network event. TheBoolean expression may also include one or more Boolean operators suchas AND, OR, or NOT. The Boolean expression may also include comparisonconstructs, such as “equal”, “unequal”, “greater than”, “smaller than”,and the like.

Instead of just evaluating which of the Boolean expressions result in aBoolean TRUE value, the present invention aims to select the Booleanexpression that matches the network event strongest. Since the Booleanexpressions are constructed using Boolean operators, and may alsocontain comparison constructs, each of the Boolean conditions can beevaluated individually.

In the examples, score tuples are assigned to each condition providingan indication how strong that condition matches the input data in thenetwork event, e.g. in the service invocation request. The score tupleof the Boolean expression is then calculated from the individual scoretuples of the conditions in that Boolean expression. The score tuple ofthe Boolean expression may be used as the indicator mentioned above. Thescore tuple of the Boolean expression may, therefore, be used to choosebetween available composite services.

The determination unit 16 may be arranged for determining for eachcomposite service whether a Boolean expression indicating theapplicability of said composite service for said network event has beenmet. The evaluation unit 18 may be arranged for determining a measure ofconformity of the network event with the Boolean expression. Theselection unit 20 may be arranged for selecting the composite servicefor which the determination unit 16 determined that the Booleanexpression is met, and for which the evaluation unit 18 indicatedclosest conformity.

The score tuple of the Boolean expression may include the elements:

a Boolean result (R) of the Boolean expression for the network event,and one or more of

a number (S) of conditions of the Boolean expression satisfied by thenetwork event,

a number (C) of conditions contributing to a positive result of theBoolean expression, and

a number (N) of conditions in the Boolean expression.

The Boolean expression may be expressed as a comparison tree, whereineach node may contain a sub-tree. Each node in said comparison tree maybe assigned a score tuple containing four elements:

a Boolean result (R_(i)) (i=1, 2, 3, . . . ) of the expression in thesub-tree, and one or more of

a number (S_(i)) of conditions satisfied in the sub-tree,

a number (C_(i)) of conditions contributing to a positive result of thesub-tree, and

a number (N_(i)) of conditions in the subtree.

A node having no sub-tree will be termed “leaf”.

In the examples, the score tuple of the Boolean expression includes allfour elements R, S, C and N. In the examples the score tuple of asub-tree includes all four elements R_(i), S_(i), C_(i) and N_(i). If,in the examples, for a leaf the condition evaluates to TRUE, the scoretuple of the leaf (R_(i), S_(i), C_(i), N_(i))=(true, 1, 1, 1). TheBoolean result (R_(i)) is “true”. Since it concerns one non-dividablecondition, the number of satisfied conditions (S_(i)) is one, the numberof contributing conditions (C_(i)) is one, and the total number ofconditions (N_(i)) is one. If, in the examples, for a leaf the conditionevaluates to FALSE, the score tuple of the leaf (R_(i), S_(i), C_(i),N_(i))=(false, 0, 0, 1). The Boolean result (R_(i)) is “false”. Since itconcerns one non-dividable condition, the number of satisfied conditions(S_(i)) is zero, the number of contributing conditions (C_(i)) is zero,and the total number of conditions (N_(i)) is one.

In each node the score tuple is calculated based on the score tuples ofthe leaves of the node. FIGS. 2A-2C show examples of rules on how thescore tuple of a node may be calculated based on the score tuples in thesub-tree(s) and/or leave(s).

In the examples of FIGS. 2A-2C, the N_(i) value of a node is alwayscalculated as the sum of N_(i) values of the leaves, or braches, of thatnode. The S_(i) and C_(i) value are in these examples calculateddepending on the type of operation:

-   -   Logical-OR: S_(i) is the sum of the branches' S_(i) values.        C_(i) is the maximum of the branches' C_(i) values, because OR        weakens the expression;    -   Logical-AND: S_(i) is the sum of the branches' S_(i) values.        C_(i) is the sum of the branches' C_(i) values, because AND        strengthens the expression; and    -   Logical-NOT: S_(i) and C_(i) are the difference between the        branch's N_(i) value and S_(i) and C_(i) values respectively,        because NOT inverts the expression.

The score tuple of the examples provides several parameters, e.g. theratio S/N, the number S, and the number C, which in a combinationthereof, or taken per se, give an indication of the measure ofconformity of the Boolean expression with the input parameter(s) in thenetwork event.

In the example of FIG. 3, the Boolean result of the expression isevaluated. In the example of FIG. 3 the first expression (a) evaluatesto TRUE and the second expression (b) evaluates to FALSE. The scoretuple (R, S, C, N) of the first expression (a) is then (true, 1, 1, 1).The score tuple (R, S, C, N) of the second expression (b) is then(false, 0, 0, 1). It will be appreciated that in such case, thecomposite service associated with the expression (a) evaluating to TRUEis to be selected to be executed.

In the example of FIG. 4 both expressions (c) and (d) evaluate to TRUE.Therefore, both composite services associated with the expressions (c)and (d), respectively, are applicable to the network event, and aselection must be made. In this example, the first expression (c)contains the Boolean operator OR applied to two leaves both evaluatingto TRUE. In this example, the second expression (d) contains the Booleanoperator OR applied to two leaves one evaluating to TRUE, the other toFALSE. Applying the rules as described with respect to FIGS. 2A-2C, thescore tuple (R, S, C, N) of the first expression (c) is (true, 2, 1, 2).Applying the rules as described with respect to FIGS. 2A-2C, the scoretuple (R, S, C, N) of the second expression (d) is (true, 1, 1, 2). Inthis example, the first expression (c) has the highest ratio ofsatisfied conditions in the expression, calculated as S/N. Therefore,based on the highest ratio S/N the composite service associated with thefirst expression (c) may be selected to be executed.

In the example of FIG. 5 both expressions (e) and (f) evaluate to TRUE.Therefore, both composite services associated with the expressions (e)and (f), respectively, are applicable to the network event, and aselection must be made. In this example, the first expression (e)contains the Boolean operator AND applied to three leaves all evaluatingto TRUE. In this example, the second expression (f) contains the Booleanoperator AND applied to two leaves both evaluating to TRUE. Applying therules as described with respect to FIGS. 2A-2C, the score tuple (R, S,C, N) of the first expression (e) is (true, 3, 3, 3). Applying the rulesas described with respect to FIGS. 2A-2C, the score tuple (R, S, C, N)of the second expression (f) is (true, 2, 2, 2).

In the example of FIG. 5, both expressions (e) and (f) have an equalration (S/N) of satisfied conditions. Therefore, the selection has to bemade on a parameter different from S/N. The first expression (e) has thehighest amount of satisfied conditions (S). Therefore, based on thehighest number S of conditions satisfied, the composite serviceassociated with the first expression (e) may be selected to be executed.

In the example of FIG. 6 both expressions (g) and (h) evaluate to TRUE.Therefore, both composite services associated with the expressions (g)and (h), respectively, are applicable to the network event, and aselection must be made. In this example, the first expression (g)contains the Boolean operator AND applied to two leaves both evaluatingto TRUE. In this example, the second expression (h) contains the Booleanoperator OR applied to two leaves both evaluating to TRUE. Applying therules as described with respect to FIGS. 2A-2C, the score tuple (R, S,C, N) of the first expression (g) is (true, 2, 2, 2). Applying the rulesas described with respect to FIGS. 2A-2C, the score tuple (R, S, C, N)of the second expression (h) is (true, 2, 1, 2).

In the example of FIG. 6, both expressions (g) and (h) have an equalratio S/N of satisfied conditions, as well as an equals amount S ofsatisfied conditions. Therefore, the selection has to be made on aparameter different from S/N and S. The first expression (g) has thehighest number of contributing conditions (C). Therefore, based on thehighest number C of contributing conditions, the composite serviceassociated with the first expression (g) may be selected to be executed.

In the above examples, the measure of conformity of the criteria, herethe Boolean expression, with the network event is determined on thebasis of the ratio of satisfied conditions S/N, the number of satisfiedconditions S, and the number of contributing conditions C. It will beappreciated that alternatively, or additionally, the measure ofconformity may be determined on the basis of e.g. the ratio C/N ofcontributing conditions, and/or the number N of conditions in theexpression.

In the examples, the proposed tuple score follows De Morgan's laws whichare known per se. These can for instance be shown in the two examplesshown in FIG. 7

Example (i): NOT ((a AND b) OR c)=((NOT a) OR (NOT b)) AND (NOT c) witha=true; b=false; c=false.

Example (j): NOT ((a AND b) OR c)=((NOT a) OR (NOT b)) AND (NOT c) witha=false; b=false; c=false.

EXAMPLE 1

In the following example, based on Signaling System No. 7 (SS7), thefollowing two expressions for two skeletons (composite services) A andB, with equal priorities, are defined:

-   -   A: $(operation)=‘InitialDP’    -   B: ($(operation)=‘InitialDP’) AND ($(service_key)=‘5050’)

Without using the selection procedure according to the invention, foreach service invocation request that is an InitialDP, the skeleton Awould be selected, regardless of the service key value. However, if theservice key equals 5050, skeleton B is the desired selection result.

According to the invention, the following tuple scores would becalculated for the service invocation request being an InitialDP andhaving a service key equalling 5050:

-   -   A: (true, 1, 1, 1)    -   B: (true, 2, 2, 2)

According the present invention, the above scores result in theselection of skeleton B, in case the selection is made on the basis ofthe ratio S/N of satisfied conditions, the number of satisfiedconditions S, or the number of contributing conditions C. Also if thisorder of precedence is taken, skeleton B would be selected.

EXAMPLE 2

In the following, more elaborate, example, the following expressions forskeletons C, D and E are defined:C: ($(operation)=‘INVITE’) AND (($(to)=‘Bob’) OR ($(to)=‘Alice’))D: ($(operation)=‘INVITE’) AND ($(to)=‘Bob’)E: ($(operation)=‘INVITE’) AND ($(to)=‘Bob’) AND (NOT ($(from)=‘Alice’))

Suppose a service invocation request is received, indicating an INVITEfrom Carol to Bob, then the above expressions result in the followingtuple scores:

-   -   C: (true, 2, 2, 3)    -   D: (true, 2, 2, 2)    -   E: (true, 3, 3, 3)

Now, the tuple scores are evaluated using the order of precedence offirst S/N, then S, and then C. It will be appreciated that theexpression associated with skeleton C has a ratio S/N of satisfiedconditions of about 0.67, while the expressions associated withskeletons D and E have a ratio S/N of 1. Since, further, the expressionassociated with skeleton E has a higher number S of satisfied conditionsthan the expression associated with skeleton D, the skeleton E will beselected. Of the three, the expression E is also the most constrainingexpression to satisfy, since it has the highest number C of conditionscontributing to a positive result of the expression.

Now suppose that another service invocation request is received,indicating an INVITE from Alice to Bob. In this case the expressionsevaluate to the following tuple scores:

-   -   C: (true, 2, 2, 3)    -   D: (true, 2, 2, 2)    -   E: (false, 2, 2, 3)

If the tuple scores are evaluated using the order of precedence of firstS/N, then S, and then C, the above tuple scores result in the selectionof skeleton D (S/N=1), which is now the strongest match.

Now suppose that another service invocation request is received,indicating an INVITE from Carol to Alice. In this case the expressionsevaluate to the following tuple scores:

-   -   C: (true, 2, 2, 3)    -   D: (false, 1, 1, 2)    -   E: (false, 2, 2, 3)

The above tuple scores result in the selection of skeleton C, whichevaluates to TRUE.

In general, to further enhance the distinguishing power of the selectionmethod according to an aspect of the invention, each condition could beassigned a weight. The weight can be used in determining the measure ofconformity. The weight is preferably only assigned to the leaves of anexpression. Hence, a TRUE condition yields the tuple (R_(w), S_(w),C_(w), N_(w))=(true, weight, weight, weight) and a FALSE conditionyields the tuple (false, 0, 0, weight). The calculations for Booleanoperators AND, OR and NOT are as described with respect to FIGS. 2A-2C.

It will be appreciated that assigning a weight of 1 to each condition inthe expression results in the calculations as described with respect toFIG. 3 to FIG. 7.

Using score tuples, according to an aspect of the invention, select anexpression provides a much more accurate selection than other techniques(such as priorities). Moreover, the score tuples actually identify whichexpression matches the input data, in the network event, strongest.

In the foregoing specification, the invention has been described withreference to specific examples of embodiments of the invention. It will,however, be evident that various modifications and changes may be madetherein without departing from the broader spirit and scope of theinvention as set forth in the appended claims.

In the examples the system is shown as comprising one Application Server8. It will be appreciated that it is also possible that the systemcomprises a plurality of application servers. In that case, thecomposite services may include services from one or more applicationserver of the plurality of application servers. It is also possible thatthe system includes a plurality of databases storing the criteriaassociated with the composite services.

In the examples, the measure of conformity of the criteria, here theBoolean expression, with the network event is determined on the basis ofthe parameters ratio of satisfied conditions S/N, the number ofsatisfied conditions S, and the number of contributing conditions C,consecutively. It will be appreciated that the order of precedence ofthese parameters may also be modified.

In the examples, the measure of conformity of the criteria, here theBoolean expression, with the network event is determined on the basis ofthe ratio of satisfied conditions S/N, the number of satisfiedconditions S, and the number of contributing conditions C. It will beappreciated that alternatively, or additionally, the measure ofconformity may be determined on the basis of e.g. the ratio C/N ofcontributing conditions, and/or the number N of conditions in theexpression.

However, other modifications, variations, and alternatives are alsopossible. The specifications, drawings and examples are, accordingly, tobe regarded in an illustrative rather than in a restrictive sense.

In the claims, any reference signs placed between parentheses shall notbe construed as limiting the claim. The word ‘comprising’ does notexclude the presence of other features or steps than those listed in aclaim. Furthermore, the words ‘a’ and ‘an’ shall not be construed aslimited to ‘only one’, but instead are used to mean ‘at least one’, anddo not exclude a plurality. The mere fact that certain measures arerecited in mutually different claims does not indicate that acombination of these measures cannot be used to advantage.

It will be appreciated that using a measure of conformity to select anapplicable composite service provides a much more accurate selectionthan other techniques (such as priorities). Moreover, the measure ofconformity, especially the score tuple, actually identifies whichexpression matches the input strongest. It also provides a score thatconforms to one's intuition of what matches best.

The invention claimed is:
 1. Method, for use in a telecommunicationsnetwork, of selecting from a plurality of composite services a compositeservice to be executed in response to a request to open a communicationconnection, each of the plurality of composite services comprising aplurality of mutually different network services and having associatedtherewith criteria determining whether or not that composite service maybe executed in reaction to the request, for each composite service saidcriteria associated therewith including a Boolean expression indicatingapplicability of that composite service for said request, the Booleanexpression including one or more conditions and one or more Booleanoperators, the method comprising: in response to receiving the requestto open the communication connection, composing, by an applicationserver of the telecommunications network, for each of the plurality ofcomposite services an indicator indicating: whether or not the Booleanexpression for that composite service is met by the request to open thecommunication connection; and a measure of conformity of the request toopen the communication connection with that composite service; andselecting, by the application server of the telecommunications network,a composite service of the plurality of composite services, the selectedcomposite service having associated therewith an indicator indicatingthat the Boolean expression for the selected composite service is metand the measure of conformity for the selected composite servicecomprises a highest ratio (S/N) of satisfied conditions of the pluralityof composite services, the highest ratio is a ratio between a number ofsatisfied conditions of the Boolean expression of the selected service(S) to a number of conditions of the Boolean expression of the selectedservice(N); and executing, by the application server of thetelecommunications network, the selected composite service to open thecommunication connection.
 2. Method according to claim 1, wherein foreach of the plurality of composite services the indicator comprises ascore tuple including the elements: a Boolean result of the Booleanexpression for the request to open the communication connection and thatcomposite service, and one or more of: a number of conditions of theBoolean expression for the request to open the communication connectionand that composite service satisfied by the request to open thecommunication connection; a number of conditions contributing to apositive result of the Boolean expression for the request to open thecommunication connection and that composite service; and a number ofconditions in the Boolean expression for the request to open thecommunication connection and that composite service.
 3. Method accordingto claim 2, wherein the selected composite service is associated with acomposed indicator comprising a score tuple that includes: a positiveBoolean result (R); and at least one of: a number of satisfiedconditions higher than a number of satisfied conditions of any othercomposite service of the plurality of composite services; and a number(C) of contributing conditions higher than a number of contributingconditions of any other composite service of the plurality of compositeservices.
 4. Method according to claim 3, wherein the measure ofconformity for the selected composite service is determined byevaluating R, S/N, S, and C in that order if present.
 5. Methodaccording to claim 3, wherein, if the plurality of composite servicescomprises multiple composite services that are each associated with anindicator indicating that the Boolean expression for that compositeservice is met and the measure of conformity for that composite serviceis higher than or equal to a measure of conformity for any othercomposite service of the plurality of composite services, the selectedcomposite service is determined based on a predetermined highestpriority.
 6. Method according to claim 1, wherein the request to openthe communication connection is a service invocation request, and theindicator of the selected composite service provides a measure ofconformity of the Boolean expression of the selected composite servicewith the service invocation request.
 7. Method according to claim 1,wherein for each of the plurality of composite services, a weight isassociated with the one or more conditions of the Boolean expression forthat composite service, the measure of conformity being determinedtaking into account said weight.
 8. Method according to claim 1, whereinthe telecommunications network is an Internet Protocol MultimediaSubsystem network.
 9. Network entity, for use in a telecommunicationsnetwork, for selecting from a plurality of composite services acomposite service to be executed in response to a received request toopen a communication connection, said network entity comprising amemory, each of the plurality of composite services comprising aplurality of mutually different network services, said memory including,for each of the plurality of composite services, a Boolean expressiondetermining whether or not that composite service may be executed inresponse to the request to open the communication connection, theBoolean expression for that composite service including one or moreconditions and one or more Boolean operators, the network entitycomprising electronic circuits configured to: receive the request toopen the communication connection; determine for each of the pluralityof composite services whether or not the Boolean expression for thatcomposite service is met by the request to open the communicationconnection; determine for each of the plurality of composite services ameasure of conformity of the request to open the communicationconnection with the Boolean expression for that composite service;select a composite service of the plurality of composite services forwhich the Boolean expression for the-selected composite service is met,and for which the measure of conformity for the selected compositeservice comprises a highest ratio (S/N) of satisfied conditions of theplurality of composite services, the highest ratio is a ratio of anumber of satisfied conditions of the Boolean expression of the selectedservice (S) to a number of conditions in the Boolean expression of theselected service (N); and execute the selected composite service torespond to the request to open the communication connection.
 10. Networkentity according to claim 9, wherein the electronic circuits are furtherconfigured to determine a Boolean result of the Boolean expression foreach composite service of the plurality of composite services for therequest to open the communication connection, and wherein the networkentity is arranged for determining one or more of: a number ofconditions of the Boolean expression for each of the plurality ofcomposite services satisfied by the request to open the communicationconnection; a number of conditions contributing to a positive result ofthe Boolean expression for each of the plurality of composite services;and a number of conditions in the Boolean expression for each of theplurality of composite services; and for determining the measure ofconformity for the selected composite service on the basis of one ormore of: a highest number of satisfied conditions, and a highest number(C) of contributing conditions.
 11. Network entity according to claim 9,wherein the electronic circuits are further configured to select, if theplurality of composite services comprises multiple composite servicesthat are each associated with an indicator indicating that the Booleanexpression for that composite service is met and the measure ofconformity for that composite service is higher than or equal to ameasure of conformity for any other composite service of the pluralityof composite services, the selected composite service is determinedbased on a predetermined highest priority.
 12. Network entity accordingto claim 9, wherein the memory includes a weight for each condition foreach Boolean expression for each of the plurality of composite services,and wherein the electronic circuits are further configured to determinethe measure of conformity for each of the plurality of compositeservices taking into account said weight.
 13. Network entity accordingto claim 9, arranged for use in an Internet Protocol MultimediaSubsystem (IMS) network, the network entity being an Application Server(AS) or a Serving Call Session Control function (S-CSCF).
 14. Anon-transitory computer readable medium comprising logic, the logicconfigured to, when executed by an application server of atelecommunications network, cause the application server to performoperations comprising: receiving a request to open a communicationconnection; retrieving for each one of a plurality of compositeservices, criteria determining whether or not that composite service maybe executed in reaction to the request to open the communicationconnection, for each composite service said criteria associatedtherewith including a Boolean expression indicating applicability ofthat composite service for said request to open the communicationconnection, the Boolean expression including one or more conditions andone or more Boolean operators, each of the plurality of compositeservices comprising a plurality of mutually different network services;evaluating for each composite service of the plurality of compositeservices an indicator indicating: whether or not the Boolean expressionfor that composite service is met by the request to open thecommunication connection; and a measure of conformity of the request toopen the communication connection with the Boolean expression for thatcomposite service; selecting a composite service of the plurality ofcomposite services having associated therewith the indicator indicatingthat the Boolean expression for the selected composite service is metand the measure of conformity for the selected composite servicecomprises a highest ratio (S/N) of satisfied conditions of the pluralityof composite services, the highest ratio is a ratio of a number ofsatisfied conditions of the Boolean expression of the selected service(S) to a number of conditions in the Boolean expression of the selectedservice (N); and executing the selected composite service in reaction tothe request to open the communication connection.
 15. The non-transitorycomputer readable medium comprising logic according to claim 14, whereinfor each of the plurality of composite services, the indicator for thatcomposite service comprises a score tuple including the elements: aBoolean result of the Boolean expression for the request to open thecommunication connection for that composite service, and one or more of:a number of conditions of the Boolean expression for that compositeservice satisfied by the request to open the communication connection, anumber of conditions contributing to a positive result of the Booleanexpression for that composite service, and a number of conditions in theBoolean expression for that composite service; wherein the selectedcomposite service with a measure of conformity higher than or equal to ameasure of conformity for any other composite service of the pluralityof composite services is defined as the composite service having apositive Boolean result (R), and one or more of: a highest number ofsatisfied conditions, and a highest number (C) of contributingconditions.